package com.jkt.rms.dataservice;

import java.util.List;

import com.jkt.rms.business.ModuleMaster;
import com.jkt.rms.business.SystemRole;
import com.jkt.rms.commons.utils.RMSException;


public interface RoleDataService  {
	
	public SystemRole saveRole(SystemRole sysrole);
	public void saveorUpdateRole(SystemRole sysrole) throws RMSException;
	public SystemRole isRoleExist(String userName);
	public List<SystemRole> findAll();
	public List<String> findAllRoleNames();
	public List<ModuleMaster> findAllModules();
    public void evictCollection(String collectionid) ;
    public ModuleMaster getModuleById(int module_id);
}
